from tkinter import *
from win32 import win32api


windowWidth: int = win32api.GetSystemMetrics(0)
windowsHeight: int = win32api.GetSystemMetrics(1)


baseWidth: int = 600
baseHeight: int = 400


class baseFrame(object):
    def __init__(self) -> None:
        self.window = Tk()
        self.width = baseWidth
        self.height = baseHeight


    def Show(self, title: str='') -> None:
        self.window.title(title)
        self.window.config(background='#FFFFFF')
        self.window.geometry('{}x{}+{}+{}'.format(self.width, self.height, int((windowWidth - self.width) / 2), int((windowsHeight - self.height) / 2) - 100))
        self.window.resizable(0, 0)